package com.hippy.erya.base.db.service;

import com.hippy.erya.base.db.entity.DatabaseInfo;
import com.hippy.erya.base.db.model.params.DatabaseInfoParam;
import com.hippy.erya.base.db.model.result.DatabaseInfoResult;
import com.hippy.erya.base.pojo.page.LayuiPageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


public interface DatabaseInfoService extends IService<DatabaseInfo> {

    void add(DatabaseInfoParam param);

    void delete(DatabaseInfoParam param);

    void update(DatabaseInfoParam param);

    DatabaseInfoResult findBySpec(DatabaseInfoParam param);

    List<DatabaseInfoResult> findListBySpec(DatabaseInfoParam param);

    LayuiPageInfo findPageBySpec(DatabaseInfoParam param);

}
